package com.wanyang.pojo;

import org.nutz.dao.entity.annotation.*;

import java.util.Date;

/**
 * Created by zhai on 16/4/18.
 */
@Table("cloud")
public class Cloud {

    @Id
    @Column("cloud_id")
    private Integer cloudId;

    @Column("cloud_type")
    private Integer cloudType;

    @Column("account")
    private String account;

    @Column("password")
    private String password;

    @Column("total_memory")
    private Integer totalMemory;

    @Column("used_memory")
    private Integer usedMemory;

    @Column("create_time")
    private Date createTime;

    @Column("user_id")
    private Integer userId;

    public Integer getCloudId() {
        return cloudId;
    }

    public void setCloudId(Integer cloudId) {
        this.cloudId = cloudId;
    }

    public Integer getCloudType() {
        return cloudType;
    }

    public void setCloudType(Integer cloudType) {
        this.cloudType = cloudType;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getTotalMemory() {
        return totalMemory;
    }

    public void setTotalMemory(Integer totalMemory) {
        this.totalMemory = totalMemory;
    }

    public Integer getUsedMemory() {
        return usedMemory;
    }

    public void setUsedMemory(Integer usedMemory) {
        this.usedMemory = usedMemory;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
